package cn.zyjblogs.server.role.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zhuyijun
 */
@ApiModel(description = "角色权限关联表")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class RolePermissionRelVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键，uuid
     */
    @ApiModelProperty(value = "主键id")
    private String id;

    /**
     * 角色表主键，uuid
     */
    @ApiModelProperty(value = "角色id")
    private String roleId;
    /**
     * 权限资源主键，uuid
     */
    @ApiModelProperty(value = "权限id")
    private String permissionId;

    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private String tenantId;

}
